﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UnitsList.aspx.cs" Inherits="WebPubManager_UnitsList" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>单位管理</title>
    <link href="../css/page.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="width: 98%; margin: 0px auto; text-align: center;">
        <table class="tab_top" width="98%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="18">
                    <img src="../images/tab_top_left.gif" width="17" height="35" alt="" />
                </td>
                <td width="89%" align="center">
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
                <td align="right">
                    <img src="../images/tab_top_right.gif" width="5" height="35" alt="" />
                </td>
            </tr>
        </table>
        <table style="width: 98%; border-top-width: 0px" class="tab">
            <tr>
                <td>
                    单位名称<asp:TextBox ID="txtUnitsName" runat="server"></asp:TextBox>
                    组织代码<asp:TextBox ID="txtOrganization" runat="server" Width="80px"></asp:TextBox>
                    法人代表<asp:TextBox ID="txtLegal" runat="server" Width="80px"></asp:TextBox>
                    单位性质<asp:TextBox ID="txtNature" runat="server" Width="80px"></asp:TextBox>
                    <asp:Button ID="btnRefer" CssClass="input" runat="server" Text="查询" OnClick="btnRefer_Click" />
                </td>
            </tr>
            <tr style="border-top-width: 0px">
                <td style="border-top-width: 0px">
                    <controlDefine:CustomGridView ID="gridviewCar" runat="server" AllowPaging="True" Width="100%"
                        SkinID="List" HideTextLength="30" AutoGenerateColumns="False" ShowCmpAndCancel="False"
                        AllowOnMouseOverEvent="False" ShowItemNumber="True" AutoGenerateDeleteConfirm="false"
                        ShowHideColModel="None" OnRowCreated="gridviewCar_RowCreated" OnOnLoadData="recvgrid_OnLoadData">
                        <PagerSettings Visible="False" />
                        <Columns>
                            <asp:BoundField HeaderText="单位名称" DataField="unitsname" />
                            <asp:BoundField HeaderText="单位地址" DataField="unitsaddress" />
                            <asp:BoundField HeaderText="组织代码" DataField="organization" />
                            <asp:BoundField HeaderText="单位性质" DataField="nature" />
                            <asp:TemplateField HeaderText="编辑">
                                <ItemTemplate>
                                    <asp:HyperLink ID="hyedit" runat="server" Text="编辑"></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="所有用户">
                                <ItemTemplate>
                                    <asp:HyperLink ID="hyuser" runat="server" Text="查看"></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="删除">
                                <ItemTemplate>
                                    <asp:HyperLink ID="hydel" runat="server" Text="删除"></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </controlDefine:CustomGridView>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
